package com.gruopbuying.agent.service;

import org.springframework.cache.annotation.CacheEvict;

public interface MenuService {
    @CacheEvict(value = "permission",key = "#userId")
    boolean clearCache(Long userId);

    Object PermsByUserId(Long userId);
    /**
     * 用户的路由
     * @return
     */
    Object RouterDTOsByUserId(Long userId);
}
